// 全局数据配置：按时间周期分类，改数据直接改这里
const dataConfig = {
    30: { // 近30天
        core: {
            totalPeople: "1,287,542",
            peopleGrowth: "同比 ↑32.6%",
            totalEvents: "1,856",
            eventsGrowth: "同比 ↑18.3%",
            totalCoverage: "25.6 亿",
            coverageGrowth: "同比 ↑42.1%"
        },
        styleRatio: { ming: 38, tang: 27, song: 22, other: 13 },
        storeData: [ // 左侧体验店表格数据
            { name: "长安汉服体验馆", people: 1256, events: 28 },
            { name: "江南汉服研习社", people: 987, events: 22 },
            { name: "京华汉服中心", people: 865, events: 18 },
            { name: "岭南汉风体验馆", people: 754, events: 15 },
            { name: "蜀地汉服工作室", people: 632, events: 12 }
        ],
        mapData: [ // 地图基础数据
            { name: "陕西", value: 210 }, { name: "江苏", value: 185 },
            { name: "浙江", value: 170 }, { name: "北京", value: 190 },
            { name: "广东", value: 165 }, { name: "四川", value: 150 }
        ],
        eventData: [ // 右侧热门活动表格数据
            { rank: 1, name: "中国汉服文化节", city: "西安", people: 12500, spread: "2.8亿" },
            { rank: 2, name: "江南汉服雅集", city: "苏州", people: 8900, spread: "1.9亿" },
            { rank: 3, name: "明制汉服研习会", city: "北京", people: 7500, spread: "1.5亿" },
            { rank: 4, name: "宋韵文化节", city: "杭州", people: 6800, spread: "1.2亿" },
            { rank: 5, name: "大唐不夜城活动", city: "西安", people: 6200, spread: "1.1亿" }
        ],
        ageData: [12, 45, 28, 10, 5], // 年龄分布柱状图数据
        bottom: { // 底部指标数据
            socialTopic: "12.8 亿", videoPlay: "8.6 亿",
            lectureNum: "328", cooperOrg: "156 家", schoolEvent: "215 场"
        }
    },
    90: { // 近90天
        core: {
            totalPeople: "3,568,219",
            peopleGrowth: "同比 ↑28.9%",
            totalEvents: "4,982",
            eventsGrowth: "同比 ↑16.7%",
            totalCoverage: "68.3 亿",
            coverageGrowth: "同比 ↑38.5%"
        },
        styleRatio: { ming: 39, tang: 26, song: 23, other: 12 },
        storeData: [
            { name: "长安汉服体验馆", people: 3680, events: 75 },
            { name: "江南汉服研习社", people: 2850, events: 62 },
            { name: "京华汉服文化中心", people: 2490, events: 53 },
            { name: "岭南汉风体验馆", people: 2180, events: 46 },
            { name: "蜀地汉服工作室", people: 1850, events: 38 }
        ],
        mapData: [
            { name: "陕西", value: 580 }, { name: "江苏", value: 510 },
            { name: "浙江", value: 475 }, { name: "北京", value: 530 },
            { name: "广东", value: 460 }, { name: "四川", value: 410 }
        ],
        eventData: [
            { rank: 1, name: "中国汉服文化节", city: "西安", people: 35800, spread: "7.6亿" },
            { rank: 2, name: "江南汉服雅集", city: "苏州", people: 25600, spread: "5.2亿" },
            { rank: 3, name: "明制汉服研习会", city: "北京", people: 21800, spread: "4.3亿" },
            { rank: 4, name: "宋韵文化节", city: "杭州", people: 19500, spread: "3.5亿" },
            { rank: 5, name: "大唐不夜城活动", city: "西安", people: 17800, spread: "3.1亿" }
        ],
        ageData: [13, 44, 29, 11, 3],
        bottom: {
            socialTopic: "35.2 亿", videoPlay: "23.8 亿",
            lectureNum: "896", cooperOrg: "183 家", schoolEvent: "587 场"
        }
    },
    365: { // 近1年
        core: {
            totalPeople: "15,872,364",
            peopleGrowth: "同比 ↑25.3%",
            totalEvents: "21,548",
            eventsGrowth: "同比 ↑14.2%",
            totalCoverage: "298.7 亿",
            coverageGrowth: "同比 ↑33.8%"
        },
        styleRatio: { ming: 40, tang: 25, song: 22, other: 13 },
        storeData: [
            { name: "长安汉服体验馆", people: 15680, events: 320 },
            { name: "江南汉服研习社", people: 12580, events: 285 },
            { name: "京华汉服文化中心", people: 10850, events: 246 },
            { name: "岭南汉风体验馆", people: 9680, events: 215 },
            { name: "蜀地汉服工作室", people: 8250, events: 182 }
        ],
        mapData: [
            { name: "陕西", value: 2450 }, { name: "江苏", value: 2180 },
            { name: "浙江", value: 2050 }, { name: "北京", value: 2260 },
            { name: "广东", value: 1980 }, { name: "四川", value: 1750 }
        ],
        eventData: [
            { rank: 1, name: "中国汉服文化节", city: "西安", people: 156800, spread: "32.8亿" },
            { rank: 2, name: "江南汉服雅集", city: "苏州", people: 125600, spread: "27.5亿" },
            { rank: 3, name: "明制汉服研习会", city: "北京", people: 108500, spread: "22.3亿" },
            { rank: 4, name: "宋韵文化节", city: "杭州", people: 96800, spread: "18.6亿" },
            { rank: 5, name: "大唐不夜城活动", city: "西安", people: 89200, spread: "16.9亿" }
        ],
        ageData: [15, 42, 28, 12, 3],
        bottom: {
            socialTopic: "156.8 亿", videoPlay: "108.5 亿",
            lectureNum: "3856", cooperOrg: "218 家", schoolEvent: "2568 场"
        }
    }
};

// 全国各省完整地图数据（含增长率，不用动）
const fullProvinceData = [
    { name: '北京', value: 85, growth: 18.5 },
    { name: '天津', value: 42, growth: 12.3 },
    { name: '河北', value: 58, growth: 15.7 },
    { name: '山西', value: 50, growth: 14.2 },
    { name: '内蒙古', value: 25, growth: 8.6 },
    { name: '辽宁', value: 47, growth: 11.9 },
    { name: '吉林', value: 33, growth: 9.4 },
    { name: '黑龙江', value: 28, growth: 7.8 },
    { name: '上海', value: 78, growth: 17.3 },
    { name: '江苏', value: 135, growth: 23.6 },
    { name: '浙江', value: 118, growth: 21.8 },
    { name: '安徽', value: 65, growth: 16.2 },
    { name: '福建', value: 72, growth: 17.9 },
    { name: '江西', value: 55, growth: 15.1 },
    { name: '山东', value: 75, growth: 18.4 },
    { name: '河南', value: 95, growth: 20.2 },
    { name: '湖北', value: 68, growth: 16.7 },
    { name: '湖南', value: 62, growth: 15.9 },
    { name: '广东', value: 112, growth: 22.5 },
    { name: '广西', value: 45, growth: 13.1 },
    { name: '海南', value: 22, growth: 6.5 },
    { name: '重庆', value: 53, growth: 14.8 },
    { name: '四川', value: 105, growth: 21.3 },
    { name: '贵州', value: 36, growth: 10.2 },
    { name: '云南', value: 47, growth: 12.7 },
    { name: '西藏', value: 15, growth: 4.2 },
    { name: '陕西', value: 145, growth: 25.8 },
    { name: '甘肃', value: 39, growth: 11.3 },
    { name: '青海', value: 18, growth: 5.1 },
    { name: '宁夏', value: 20, growth: 5.8 },
    { name: '新疆', value: 26, growth: 8.2 },
    { name: '台湾', value: 30, growth: 9.1 },
    { name: '香港', value: 36, growth: 10.5 },
    { name: '澳门', value: 19, growth: 5.5 }
];